package org.makcro.sms.services.chat.base.dao;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

public interface BasicDao<T> {

	@Transactional
	public abstract void create(T entity);

	@Transactional
	public abstract void edit(T entity);

	@Transactional
	public abstract void delete(T entity);

	@Transactional
	public abstract T find(Object id);

	@Transactional
	public abstract List<T> findAll();

}